package com.wesleyone.sc.service;

import org.springframework.stereotype.Component;

/**
 * @Author: wesleyOne
 * @Email: wesleyone666@163.com
 * @Gitee: https://gitee.com/wesleyOne
 * @Date: 2020/8/29
 */
@Component
public class PaymentHystrixFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "--------Fallback_paymentInfo_OK";
    }

    @Override
    public String paymentInfo_Timeout(Integer id) {
        return "--------Fallback_paymentInfo_Timeout";
    }
}
